package com.nanjing.demo.mapper;

import com.nanjing.demo.model.Role;
import com.nanjing.demo.model.User;

import java.util.List;


public interface UserMapper {


    User loadUserByUsername(String username);

    List<Role> getUserRolesByUid(Integer id);
}